      </div>
          <div class="span9 pull-right">
              <hr>
    
              <footer id="footer">
                <div class="pull-right">
                    <p class="muted credit">Made Karistiawan &middot; Copyright &copy; 2015</p>
                </div>
              </footer>
          </div>
    </div><!--/.row-fluid-->
    </div><!--/.container-fluid-->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->    
    <script src="js/jquery-ui-1.10.0.custom.min.js" type="text/javascript"></script>
    <script src="js/jquery.validationEngine.js"></script>
    <script src="js/languages/jquery.validationEngine-ina.js"></script>      
    <script src="js/bootstrap.js"></script>
    <script src="js/jquery.dataTables.js"></script>
    <script src="js/DT_bootstrap.js"></script>   
    <script src="js/bootstrap-modal.js"></script>   
    <script src="js/bootstrap-tag.js"></script>
    <script src="js/bootstrap-modalmanager.js"></script>
    <script src="js/bootstrap-typeahead.js"></script>
    <script src="js/bootstrap-filestyle-0.1.0.js" type="text/javascript"> </script>   
    <script src="js/ajaxupload.3.5.js" type="text/javascript"> </script>   
    <script src="js/ajaxfileupload.js" type="text/javascript"> </script>   
    <script src="js/jquery.imgareaselect.min.js" type="text/javascript"> </script>   
    <script src="includes/sso/jquery.cookie.js"></script>
    <script src="includes/sso/navbar.js"></script>
    <script type="text/javascript" src="includes/sso/jpane/script/jquery.mousewheel.js"></script>
    <script type="text/javascript" src="includes/sso/jpane/script/jquery.jscrollpane.min.js"></script>

        
    <script type="text/javascript">
      function autostart(){
          $.ajax({
            url: 'autostart.php?page=autostart',
            type: 'POST',
            success: function(data, textStatus, xhr) {
            }
          });
          
        };
		  $('document').ready(function(){
        setInterval('autostart()', 10000);

			  /*Fade In Content*/
			  $(".span9").css("display","none");
			  $('.span9').fadeIn('slow');
			
			  $(".validatedForm").validationEngine();
			
			  $('.datePicker').datepicker({
				  changeYear:'true',
				  changeMonth:'true',
				  yearRange:'1945:+2',         
				  dateFormat: 'yy-mm-dd'
			  });
			  
			  $('.datePicker').change(function() {
				  this.focus();
			  });

        $('.notif_inbox').live('click',function(){
          tempView = $(this);
          $("#tampil-modal").fadeOut("medium",function(){
            var form_pesan = {
              id_inbox: tempView.data('id')
            };
            $.ajax({ 
                type: "POST",
                url: "inbox-modal.php",
                data: form_pesan, 
                cache: false, 
                success: function(msg){ 
                  $("#tampil-modal").html(msg);
                  $("#tampil-modal").fadeIn("medium");
                  badge_inbox_value = $('#badge_inbox').html();
                  if (badge_inbox_value == '1') {
                    $('#badge_inbox').closest('li').find('ul').remove();
                    $('#badge_inbox').remove();
                  } else {
                    $('#badge_inbox').html(badge_inbox_value-1);
                    tempView.remove();
                  }
                } 
            }); 
          });
          return false;
        });
		  });
    </script>
  </body>
</html>
